package com.xlf.common.auth.dto;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;

/**
 * 社交账号信息
 *
 */
@Data
@AllArgsConstructor
@Builder
public class SocialUserInfoDTO {

    /**
     * 用户名
     */
    private String username;

    /**
     * 密码
     */
    private String password;

    /**
     * 昵称
     */
    private String nickname;

    /**
     * 头像
     */
    private String avatar;

    /**
     * 登录类型
     */
    private String type;

    public SocialUserInfoDTO(String username,String type){
        this.username = username;
        this.type = type;
    }


}
